<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>侧边栏-营销中心MMS</title>
</head>
<body>

<th:block th:fragment="sidebar" th:with="perfURL = ${session.PERFORMANCE!=null?session.PERFORMANCE.value:session.PERF.value}">
    <li data-name="mms-menu" class="layui-nav-item">
        <div class="system">营销中心MMS</div>


        <!-- 活动管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/activity/config/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-diamond"></i>
                    <cite>活动管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/activity/config/list.action')}">
                        <a th:lay-href="|${session.DMS.value}/activity/config/list.action|">活动管理</a>
                    </dd>
                </dl>
<!--                <dl class="layui-nav-child">-->
<!--                    <dd data-name="button">-->
<!--                        <a th:lay-href="|${session.SAAS.value}/member/list/listData.action|">会员有礼</a>-->
<!--                    </dd>-->
<!--                </dl>-->
                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/applique/qrcode/listData.action')}">
                        <a th:lay-href="|${session.SAAS.value}/applique/qrcode/listData.action|">二维码/短链接管理</a>
                    </dd>
                </dl>

<!--                <dl class="layui-nav-child">-->
<!--                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/donation/list/list.action')}">-->
<!--                        <a th:lay-href="|${session.SAAS.value}/donation/list/listData.action|">疫情捐赠活动</a>-->
<!--                    </dd>-->
<!--                </dl>-->

                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/coup/scenario/list.action')}">
                        <a th:lay-href="|${session.DMS.value}/coup/scenario/list.action|">发放场景管理</a>
                    </dd>
                </dl>

                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/cron/manage/listPage')}">
                        <a th:lay-href="|${session.DMS.value}/cron/manage/listPage|">定时任务管理</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 优惠管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/coup/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-note"></i>
                    <cite>优惠券管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <!--<dd data-name="list" th:if="${#authPermit.checkMenuPermit('/coup/coupquery/list.action')}">
                        <a lay-href="/coup/coupquery/list.action">优惠查询</a>
                    </dd>-->
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/coup/item/list.action')}">
                        <a th:lay-href="|${session.DMS.value}/coup/item/list.action|">优惠券查询</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/coup/item/listUse.action')}">
                        <a th:lay-href="|${session.DMS.value}/coup/item/listUse.action|">优惠券使用记录</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/coup/batch/list.action')}">
                        <a th:lay-href="|${session.DMS.value}/coup/batch/list.action|">优惠券批次</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/coup/review/list.action')}">
                        <a th:lay-href="|${session.DMS.value}/coup/review/list.action|">点评美团配置</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 优惠管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/market/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-note"></i>
                    <cite>私域流量</cite>
                </a>
                <dl class="layui-nav-child">
                    <!--<dd data-name="list" th:if="${#authPermit.checkMenuPermit('/coup/coupquery/list.action')}">
                        <a lay-href="/coup/coupquery/list.action">优惠查询</a>
                    </dd>-->
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/market/qrcode/list.action')}">
                        <a th:lay-href="|${session.SAAS.value}/market/qrcode/listData.action|">营销二维码</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/distribute/rule/getPageList')}">
                        <a th:lay-href="|${session.SAAS.value}/distribute/rule/getPageList|">公众号分发规则</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 优惠管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/prom/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-note"></i>
                    <cite>优惠规则</cite>
                </a>
                <dl class="layui-nav-child">
                    <a th:lay-href="|${session.DMS.value}/prom/batch/list.action|"
                       th:if="${#authPermit.checkMenuPermit('/prom/batch/list.action')}">优惠规则</a>
                </dl>
            </dd>
        </dl>

        <!-- 活动管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/msg/config/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-diamond"></i>
                    <cite>消息通知管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/msg/temp/group/list.action')}">
                        <a lay-href="/msg/temp/group/list.action">模板组管理(旧版)</a>
                    </dd>
                </dl>
                <!-- 消息中心MCS -->
                <th:block th:replace="common/system/mcs :: sidebar"/>
            </dd>
        </dl>

        <!-- 美团运营 -->
        <dl class="layui-nav-child show">
            <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/meituan/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-diamond"></i>
                    <cite>美团运营</cite>
                </a>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/meituan/marketing/*')}">
                    <a href="javascript:">
                        <cite>营销数据</cite>
                    </a>
                    <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/meituan/marketing/shop/list.action')}">
                        <dd>
                            <a th:lay-href="|${perfURL}/meituan/marketing/shop/list.action|">店铺数据</a>
                        </dd>
                    </dl>
                    <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/meituan/marketing/city/list.action')}">
                        <dd>
                            <a th:lay-href="|${perfURL}/meituan/marketing/city/list.action|">城市店铺数据</a>
                        </dd>
                    </dl>
                    <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/meituan/marketing/consume/list.action')}">
                        <dd>
                            <a th:lay-href="|${perfURL}/meituan/marketing/consume/list.action|">团单消费详情</a>
                        </dd>
                    </dl>
                </dl>

                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/meituan/comment/*')}">
                    <a href="javascript:">
                        <cite>评价管理</cite>
                    </a>
                    <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/meituan/comment/list.action')}">
                        <dd>
                            <a th:lay-href="|${perfURL}/meituan/comment/list.action|">评价列表</a>
                        </dd>
                    </dl>
                    <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/meituan/comment/report/list.action')}">
                        <dd>
                            <a th:lay-href="|${perfURL}/meituan/comment/report/list.action|">评价统计</a>
                        </dd>
                    </dl>
                </dl>

                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/meituan/shop/list.action')}">
                    <dd>
                        <a th:lay-href="|${perfURL}/meituan/shop/list|">美团店铺信息</a>
                    </dd>
                </dl>

            </dd>
        </dl>

        <!-- 品牌站 -->
        <dl class="layui-nav-child show">
            <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/brand/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-diamond"></i>
                    <cite>品牌站</cite>
                </a>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/saas/brand/list.action')}">
                    <dd>
                        <a th:lay-href="|${session.SAAS.value}/brand/list/listData.action|">品牌管理</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/site/list.action')}">
                    <dd>
                        <a th:lay-href="|${session.SAAS.value}/site/list/listData.action|">站点管理</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 自媒体 -->
        <dl class="layui-nav-child show">
            <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/app/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-diamond"></i>
                    <cite>自媒体管理</cite>
                </a>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/app/list.action')}">
                    <dd>
                        <a th:lay-href="|${session.SAAS.value}/app/list/listData.action|">账号管理</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/app/type/list.action')}">
                    <dd>
                        <a th:lay-href="|${session.SAAS.value}/app/type/list/listData.action|">账号类型</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/app/plat/list.action')}">
                    <dd>
                        <a th:lay-href="|${session.SAAS.value}/app/plat/list/listData.action|">第三方平台</a>
                    </dd>
                </dl>
            </dd>
        </dl>


        <!-- 第三方合作管理 -->

        <dl class="layui-nav-child show">
            <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/thrid/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-note"></i>
                    <cite>第三方合作管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <a th:lay-href="|${session.DMS.value}/mt/brand/list.action|"
                       th:if="${#authPermit.checkMenuPermit('/mt/brand/list.action')}">美团品牌管理</a>
                </dl>
                <dl class="layui-nav-child">
                    <a th:lay-href="|${session.DMS.value}/mt/shop/list.action|"
                       th:if="${#authPermit.checkMenuPermit('/mt/shop/list.action')}">美团门店管理</a>
                </dl>
                <dl class="layui-nav-child">
                    <a th:lay-href="|${session.DMS.value}/kb/brand/list.action|"
                       th:if="${#authPermit.checkMenuPermit('/kb/brand/list.action')}">口碑品牌管理</a>
                </dl>
                <dl class="layui-nav-child">
                    <a th:lay-href="|${session.DMS.value}/kb/shop/list.action|"
                       th:if="${#authPermit.checkMenuPermit('/kb/shop/list.action')}">口碑门店管理</a>
                </dl>
                <dl class="layui-nav-child">
                    <a th:lay-href="|${session.DMS.value}/kb/record/list.action|"
                       th:if="${#authPermit.checkMenuPermit('/kb/brand/list.action')}">口碑发码记录</a>
                </dl>
            </dd>
        </dl>

        <!-- 营销账号管理 -->

        <dl class="layui-nav-child show">
            <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/market/account/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-note"></i>
                    <cite>营销支撑</cite>
                </a>
                <dl class="layui-nav-child">
                    <a th:lay-href="|${session.MSS.value}/account/list.action|"
                       th:if="${#authPermit.checkMenuPermit('/account/list.action')}">账户管理</a>
                </dl>
                <dl class="layui-nav-child">
                    <a th:lay-href="|${session.MSS.value}/account/recharge/list.action|"
                       th:if="${#authPermit.checkMenuPermit('/account/recharge/list.action')}">账户充值管理</a>
                </dl>
            </dd>
        </dl>
    </li>
</th:block>
</body>
</html>
